The girl had fallen asleep between two clothing aisles and woke up around 3 a.m., said Lt. Victor Correia. When she realized the doors had been locked, she called police.
The Target store in Union closes at 11 p.m., according to its website.
The girl had been reported missing by her mother in Irvington. She was returned to her mother by Union police.
The store's loss prevention unit told police nothing had been missing. No charges were filed, Correia said.
Click here to follow Daily Voice Elizabeth and receive free news updates.